package com.discuss.community.service;

import com.discuss.community.entity.Comment;


import java.util.List;

public interface CommentService {

    List<Comment> findCommentsByEntity(int entityType, int entityId, int offset, int limit);

    int findCommentCountByEntity(int entityType, int entityId);

    int addComment(Comment comment);

    Comment findCommentById(int entityId);
}
